package com.dense.kuiniu.bookborrow.device;

/**
 * @author Administrator
 * @date 2021/1/27
 */
public class USBDevice {
    private final int vid;
    private final int pid;
    private final String name;
    private boolean isConnect;

    public USBDevice(int vid, int pid, String name, boolean isConnect) {
        this.vid = vid;
        this.pid = pid;
        this.name = name;
        this.isConnect = isConnect;
    }

    public int getVid() {
        return vid;
    }

    public int getPid() {
        return pid;
    }

    public String getName() {
        return name;
    }

    public boolean isConnect() {
        return isConnect;
    }

    public void setConnect(boolean connect) {
        isConnect = connect;
    }
}